package com.genesis.mall.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Author: HShuai
 * @Date: 2022/08/03/21:53星期三
 * @Description:  用户浏览记录表
 */
@Data
@TableName("member_read_history")
public class MemberReadHistory implements Serializable {

    private static final long serialVersionUID = 520L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long memberId;

    private String memberNickname;

    private Long productId;

    private String productName;

    private String productPic;

    private BigDecimal productPrice;

    private String productSubTitle;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
